﻿<UserControl x:Class="Jok.Client.Portal.Views.RegistrationView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    mc:Ignorable="d"
    Height="250" Width="241">

    <Border BorderBrush="#FFBDBDBD" BorderThickness="1" CornerRadius="5">

        <Grid x:Name="LayoutRoot">

            <Grid.RowDefinitions>
                <RowDefinition Height="28"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height="39"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="239"/>
            </Grid.ColumnDefinitions>
            <Button Content="&lt;&lt;" HorizontalAlignment="Left" Margin="8,4,0,0" Width="25" FontSize="10" Height="20" VerticalAlignment="Top" Click="Back_Click" />
            <Grid Margin="8,8,8,0" Grid.Row="1" VerticalAlignment="Top" Height="auto">
                <Grid.RowDefinitions>
                    <RowDefinition Height="25"/>
                    <RowDefinition Height="25"/>
                    <RowDefinition Height="25"/>
                    <RowDefinition Height="25"/>
                    <RowDefinition Height="25"/>
                    <RowDefinition Height="25"/>
                    <RowDefinition Height="25"/>
                    <RowDefinition Height="8.666"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="87"/>
                    <ColumnDefinition Width="152"/>
                </Grid.ColumnDefinitions>
                <TextBlock HorizontalAlignment="Left" Margin="0" VerticalAlignment="Center" Text="Username" TextWrapping="Wrap" Foreground="#FFF4F4F4"/>
                <TextBlock HorizontalAlignment="Left" Margin="0" VerticalAlignment="Center" Text="Password" TextWrapping="Wrap" Grid.Row="1" Foreground="#FFF4F4F4"/>
                <TextBlock HorizontalAlignment="Left" Margin="0" VerticalAlignment="Center" Text="Re-password" TextWrapping="Wrap" Grid.Row="2"/>
                <TextBox Margin="0,0,18,0" VerticalAlignment="Center" Grid.Column="1" TextWrapping="Wrap"/>
                <TextBlock HorizontalAlignment="Left" Margin="0" VerticalAlignment="Center" Text="Re-password" TextWrapping="Wrap" Grid.Row="2" Foreground="#FFF4F4F4"/>
                <TextBlock HorizontalAlignment="Left" Margin="0" Text="E-Mail" TextWrapping="Wrap" Grid.Row="3" VerticalAlignment="Center" Foreground="#FFF4F4F4"/>
                <TextBox Margin="0,0,18,0" Grid.Column="1" TextWrapping="Wrap" Grid.Row="3" VerticalAlignment="Center"/>
                <TextBlock HorizontalAlignment="Left" Margin="0" Text="Name" TextWrapping="Wrap" Grid.Row="4" VerticalAlignment="Center" Foreground="#FFF4F4F4"/>
                <TextBlock HorizontalAlignment="Left" Margin="0" Text="Surename" TextWrapping="Wrap" Grid.Row="5" VerticalAlignment="Center" Foreground="#FFF4F4F4"/>
                <TextBlock HorizontalAlignment="Left" Margin="0" Text="Birth Date" TextWrapping="Wrap" Grid.Row="6" VerticalAlignment="Center" Foreground="#FFF4F4F4"/>
                <TextBox Margin="0,0,18,0" Grid.Column="1" TextWrapping="Wrap" Grid.Row="4" VerticalAlignment="Center"/>
                <TextBox Margin="0,0,18,0" Grid.Column="1" TextWrapping="Wrap" Grid.Row="5" VerticalAlignment="Center"/>
                <PasswordBox Margin="0,0,18,0" VerticalAlignment="Center" Grid.Column="1" Grid.Row="1"/>
                <PasswordBox Margin="0,0,18,0" VerticalAlignment="Center" Grid.Column="1" Grid.Row="2"/>
                <controls:DatePicker Margin="0,0,18,0" Grid.Column="1" Grid.Row="6" VerticalAlignment="Center"/>
            </Grid>
            <StackPanel HorizontalAlignment="Right" Margin="0,0,8,0" Grid.Row="2" UseLayoutRounding="True" Orientation="Horizontal" VerticalAlignment="Bottom" Height="28">
                <Button x:Name="btnCreate" Content="Create" Height="20" Cursor="Hand" HorizontalAlignment="Right" Width="71"/>
            </StackPanel>
            <TextBlock Margin="111,3,6,3" Text="Registration" TextWrapping="Wrap" FontWeight="Bold" FontSize="16" Foreground="#FF948686"/>

        </Grid>

    </Border>
</UserControl>
